/*
 * Stack_Link.h
 *
 *  Created on: Dec 14, 2011
 *      Author: sanglei
 */

#ifndef STACK_LINK_H_
#define STACK_LINK_H_

#include "../headers/comm_struct.h"

int initStack(Stack * const pstk,const unsigned data_byte);
int dropStack(Stack *pstk);
int push_stack_link(Stack *pstk,const void * pvalue);
int pop_stack_link(Stack *pstk,void * prst);//将栈顶元素保存在prst指向的空间
int isEmpty_stack_link(Stack* pstk);

#endif /* STACK_LINK_H_ */
